/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ru.ssau.server;


public interface Constants {

    public static final String MESSAGE_LIST = "message.list";
    public static final String USER_LIST = "user.list";
    public static final String THREAD_LIST = "thread.list";

    public static final String GET_MODEL_STATE = "getState";

    public static final String USER_SEARCH_PARAMETER = "uname";
    public static final String SEARCH_USER = "srchusr";
    public static final String ADD_USER = "addusr";
    public static final String DO_ADD_USER = "doaddusr";
    public static final String DELETE_USER = "delusr";
    public static final String EDIT_USER = "editusr";
    public static final String DO_EDIT_USER = "doeditusr";
    public static final String GET_USER = "getusr";
    public static final String USER = "user";
    public static final String FOUND_USERS = "fndusrs";

    public static final String THREAD_SEARCH_PARAMETER = "tcaption";
    public static final String SEARCH_THREAD = "srchthr";
    public static final String ADD_THREAD = "addthr";
    public static final String DO_ADD_THREAD = "doaddthr";
    public static final String DELETE_THREAD = "delthr";
    public static final String EDIT_THREAD = "editthr";
    public static final String DO_EDIT_THREAD = "doeditthr";
    public static final String GET_THREAD = "getthr";
    public static final String THREAD = "thread";
    public static final String FOUND_THREADS = "fndthrs";

    public static final String MESSAGE_SEARCH_PARAMETER = "mtext";
    public static final String SEARCH_MESSAGE = "srchmes";
    public static final String ADD_MESSAGE = "addmes";
    public static final String DO_ADD_MESSAGE = "doaddmes";
    public static final String DELETE_MESSAGE = "delmes";
    public static final String EDIT_MESSAGE = "editmes";
    public static final String DO_EDIT_MESSAGE = "doeditmes";
    public static final String GET_MESSAGE = "getmes";
    public static final String MESSAGE = "message";
    public static final String FOUND_MESSAGES = "fndmsgs";

    public static final String ID = "id";
    public static final String NAME = "name";
    public static final String YEAR = "year";
    public static final String MONTH = "month";
    public static final String DAY = "day";
    public static final String HOURS = "hours";
    public static final String MINUTES = "minutes";
    public static final String SECONDS = "seconds";
    public static final String LOGIN = "login";
    public static final String PASSWORD = "pass";
    public static final String INFO = "info";
    public static final String CAPTION = "caption";
    public static final String TEXT = "text";
    public static final String USER_ID_IN_MESSAGE = "userid";
    public static final String THREAD_ID_IN_MESSAGE = "threadid";

    public static final String DATE_SET_OPTION = "dateSetOpt";
    public static final String CURRENT_DATE = "cdate";
    public static final String SET_DATE = "sdate";

    public static final String ACTION = "action";

    public static final String VALUES_XML_TAG = "values";

}
